package Test1;

public class Thread_Demo3 {
    public static void main(String[] args) {
        lian_xi_Demo3 t1 = new lian_xi_Demo3();
        lian_xi_Demo3 t2 = new lian_xi_Demo3();
        lian_xi_Demo3 t3 = new lian_xi_Demo3();
        lian_xi_Demo3 t4 = new lian_xi_Demo3();
        lian_xi_Demo3 t5 = new lian_xi_Demo3();

        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();

        t1.setName("线程1");
        t2.setName("线程2");
        t3.setName("线程3");
        t4.setName("线程4");
        t5.setName("线程5");
    }
}
